package org.ant.gui.panes;

import java.awt.GridBagLayout;

import javax.swing.JPanel;
import javax.swing.JTextArea;

import org.ant.gui.layout.GBC;

public class ProblemsPane extends JPanel {

	public static final String NAME = "Problems";

	private JTextArea output;

	public ProblemsPane() {
		super();
		init();
		loadComponent();
	}

	protected void init() {
		output = new JTextArea();
		setName(NAME);
	}

	protected void loadComponent() {
		setLayout(new GridBagLayout());
		add(output,new GBC(0, 0).setWeight(1, 1).setFill(GBC.BOTH));
	}

	public void setOutput(String s) {
		output.setText(s);
	}

	public void update() {
		
	}
}
